package main

import "fmt"

func main() {
	nums := []int{2, 3, 4}
	for _, num := range nums {
		fmt.Println(num)
	}

	for i, num := range nums {
		fmt.Println(i, "-", num)
	}

	for k, v := range map[string]string{"a": "apple", "b": "banana"} {
		fmt.Println(k, v)
	}
}
